package com.example.petproject.mapper;

import com.example.petproject.entity.model.PmsProductCategory;
import com.example.petproject.entity.vo.CategoryListVO;

import java.util.List;

public interface PmsProductCategoryMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(PmsProductCategory record);

    PmsProductCategory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PmsProductCategory record);

    /**
     * 查询商品列表
     * @return 商品类型列表集合
     */
    List<CategoryListVO> selectCategoryList();
}